<template>
    <el-form class="login-container">
        <h3 class="title">系统登陆</h3>
        <el-form-item>
            <el-input type="text" placeholder='账号'></el-input>
        </el-form-item>
        <el-form-item>
            <el-input type="password" placeholder='密码'></el-input>
        </el-form-item>
        <el-checkbox checked class="remember">记住密码</el-checkbox>
        <el-form-item>
            <el-button type='primary' style="width:100%;" @click.native.prevent="handleSubmit">登录</el-button>
        </el-form-item>
    </el-form>
</template>

<script>
export default {
    data(){
        return{
            
        }
    },
    methods:{
        handleSubmit(){
            this.$router.push({path:'/home'})
        }
    }
}
</script>

<style lang="less" scoped>
.login-container{
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    background-clip: padding-box;
    margin: 180px auto;
    width: 350px;
    padding: 35px 35px 15px 35px;
    background: #fff;
    border: 1px solid #eaeaea;
    box-shadow: 0 0 25px #cac6c6;
    .title {
      margin: 0px auto 40px auto;
      text-align: center;
      color: #505458;
    }
    .remember {
      margin: 0px 0px 35px 0px;
    }
}
</style>

